<extend name='Index:index'/>
<block name='admin_right'>
	<div class="right col-md-9">
		<form action="<{:U('add_handle')}>" method="post" enctype='multipart/form-data'>
					<div class="form-group">
						<p><label for="">广告位置</label></p>
						<input type="checkbox" name='pos[]'  value="0">上 
						<input type="checkbox" name='pos[]'  value="2">下
						<input type="checkbox" name='pos[]'  value="3">左
						<input type="checkbox" name='pos[]'  value="1">右
					</div>
					<div class="form-group">
						<label for="">广告链接</label>
						<input type="text" name="url" class="form-control" style="width:250px;" value="" ">
					</div>
					<div class="form-group">
						<label for="">选择图片</label>
						<input type="file" name="img"  style="width:250px;" value="" ">
					</div>
					
					<button type="submit" class="btn btn-primary">添加</button>
					<button type="reset" class="btn btn-danger">取消</button>
				</form>
	</div>
</block>